package mornd.extend.test7;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

/**
 * @author: mornd
 * @dateTime: 2023/5/11 - 22:44
 */

@Component
@Aspect
public class MyAspect {

    @Before("execution(* test7.Bean1.*(..))")
    public void before() {
        System.out.println("before...");
    }
}
